<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">

    <h:head>
        
        <title>SISTEMA SSRP ITS CHAPALA</title>
        <META HTTP-EQUIV="refresh" CONTENT="180"></META>
    </h:head>

    <h:body>
        <ui:composition template="TemplatePrincipal.xhtml">
            <ui:define name="content">         
                
                <f:view>  
                    
                    <h:form >
                        
                        <table align="center">

                            <tr>
                                <td style="text-align: right">
                                    <p:outputLabel value="USUARIO:"/>   
                                </td>
                                <td>
                                    <p:inputText value="#{loginBean.username}" maxlength="8">
                                        
                                    </p:inputText>   
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right">
                                    <p:outputLabel value="CONTRASEÑA:"/>
                                </td>
                                <td>
                                    <p:password value="#{loginBean.password}" maxlength="8">
                                        
                                    </p:password>
                                </td>
                            </tr>
                        </table>
                        <center>
                        <h6><p:commandButton value="INGRESAR" action="#{loginBean.accesar}" icon="ui-icon-unlocked" ajax="false"/></h6>
                        </center>
                    </h:form>
                </f:view>
            </ui:define>
        </ui:composition>
    </h:body>
</html>

